<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org" lang="zh-CN">

<div th:fragment="content">
    <div class="form-group">
        <label class="col-sm-2 control-label">Group <strong class="driverVerifcateRequired">*</strong></label>
        <div class="col-sm-4">
            <input class="form-control" name="groupId" type="text" maxlength="32" dbsyncer-valid="require" placeholder="root" th:value="${connector?.config?.groupId}"/>
        </div>
        <label class="col-sm-2 control-label">Topic <strong class="driverVerifcateRequired">*</strong></label>
        <div class="col-sm-4 ">
            <input class="form-control" name="topic" type="text" maxlength="32" dbsyncer-valid="require" th:value="${connector?.config?.topic}"/>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">地址<i class="fa fa-question-circle fa_gray" aria-hidden="true" title="多个使用英文逗号，例如：192.168.1.100:9092,192.168.1.200:9092"></i> <strong class="driverVerifcateRequired">*</strong></label>
        <div class="col-sm-10">
            <textarea name="url" class="form-control" maxlength="1024" dbsyncer-valid="require" rows="2" th:text="${connector?.config?.url}?:'127.0.0.1:9092'"></textarea>
        </div>
    </div>
    <!-- 参数 -->
    <div class="form-group">
        <label class="col-sm-2 control-label">key序列化 </label>
        <div class="col-sm-10">
            <select class="form-control select-control" name="keyDeserializer">
                <option value="org.apache.kafka.common.serialization.StringSerializer">org.apache.kafka.common.serialization.StringSerializer</option>
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">value序列化 </label>
        <div class="col-sm-10">
            <select class="form-control select-control" name="valueSerializer">
                <option value="org.apache.kafka.common.serialization.StringSerializer">org.apache.kafka.common.serialization.StringSerializer</option>
            </select>
        </div>
    </div>
</div>

</html>